package com.training;

import java.io.Serializable;


@SuppressWarnings("serial")
public class Employee implements Serializable{
	private int empno;
	private String empname;
	private int empsal;
	public int getEmpId() {
		return empno; 
	}
		public String getEmpName() {
		return empname; 	
	}
	public int getEmpSal() {
		return empsal; 
	}
		public Employee() {
		System.out.println("constructor");
	}
	public Employee(int id,String name,int sal) {
		this.empname=name;
		this.empno=id;
		this.empsal=sal;
		System.out.println("constructor");
	}


}
